<form name='form1' id="form1" method='post'>
    <input type="hidden" name="button" id="button" value=""/>


    <table width="100%" height="100%" border="0">
        <tr>
            <td valign="middle">
                <table align="center" cellpadding="2"
                       cellspacing="0">
                    <tr>
                        <td width="104" height="10"></td>
                        <td width="6"></td>
                        <td></td>
                    </tr>
                    <tr>
                        <td align="right">菜单名称：</td>
                        <td>&nbsp;</td>
                        <td width="260"><input type="text" name="name" id="name" size="30" maxlength="50"   verify="菜单名称|NotNull"></td>
                    </tr>
                    <tr>
                        <td align="right">菜单URL：</td>
                        <td>&nbsp;</td>
                        <td>  <input type="text" name="url" id="url" size="50"  maxlength="100"  >
                        </td>
                    </tr>
                    <tr>
                        <td align="right">菜单类型：</td>
                        <td>&nbsp;</td>
                        <td><select name="subtype" id="subtype" onchange="loadData()">
                            <option value="0" >系统资源</option>
                            <option value="1" selected>业务资源</option>
                        </select>
                        </td>

                    </tr>
                    <tr>
                        <td align="right">上级菜单：</td>
                        <td>&nbsp;</td>
                        <td><select name="id" id="id">

                        </select>
                        </td>
                    </tr>

                    <tr>
                        <td align="right">状态：</td>
                        <td>&nbsp;</td>
                        <td><select name="state" id="state">
                            <option value="0">激活</option>
                            <option value="1">冻结</option>
                        </select>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">按钮：</td>
                        <td>&nbsp;</td>
                        <td><textarea rows="1" cols="25" name="button2" id="button2" readonly="readonly">$!{obj.button}</textarea>
                            <input type="button" value="选择按钮" onclick="xuanze()"/>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">备注：</td>
                        <td>&nbsp;</td>
                        <td> <textarea rows="4" cols="40" name="descript" id="descript"> </textarea></td>
                    </tr>
                    <tr>
                        <td colspan="3" align="center" height="10"></td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</form>